package com.glodon.paas.search.util;

import com.sun.jersey.api.client.config.ClientConfig;
import com.sun.jersey.api.client.config.DefaultClientConfig;
import com.sun.jersey.api.json.JSONConfiguration;

public abstract class AbstractWebService {
    protected static final ClientConfig clientConfig;

    static {
        clientConfig = new DefaultClientConfig();
        // clientConfig.getClasses().add(SearchObjectMapperProvider.class);
        clientConfig.getFeatures().put(JSONConfiguration.FEATURE_POJO_MAPPING, Boolean.TRUE);
    }
}
